﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="WordPressConnect.aspx.cs" Inherits="Pages_Settings_WordPressConnect" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">

    <script type="text/javascript">
        var MyArgs;
        $(document).ready(function () {
            MyArgs = window.dialogArguments;
        });
        function DO() {
            var userName = document.getElementById('userName').value;
            var blogUrl = document.getElementById('blogUrl').value;
            var password = document.getElementById('password').value;
            MyArgs = new Array(userName, blogUrl, password);
            window.returnValue = MyArgs;
            window.close();

        }

    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="LeftMainColContent" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:Label ID="Label1" Text="Password" runat="server" /><input type="password" name="name"
        id="password" value=" " /><br />
    <asp:Label ID="Label2" Text="blog url" runat="server" /><input type="text" name="name"
        id="blogUrl" value=" " /><br />
    <asp:Label Text="user name" runat="server" /><input type="text" name="name" value=" "
        id="userName" />
    <input type="button" name="name" value=" " onclick="DO();" />
</asp:Content>